package com.joyson.app.module.demo;


import com.base.mvp.EasyBasePresenter;
import com.joyson.app.common.mvp.BaseView;
import com.joyson.app.model.ProductItemInfo;

import java.util.List;

/**
 * Created by joyson on 2017/10/18.
 */

public interface ProductContract {
    interface View extends BaseView {
        void callback(boolean success,List<ProductItemInfo> data);
    }

    interface Presenter extends EasyBasePresenter<View> {
        void getData(int limit, int size);
    }
}
